import { initUrl } from '@/config/axios_config'

/*******************租户API************************ */
///rest/tenantInfo/list 获取租户列表
export const getTenantList = data => initUrl(`/tenantInfo/list`, data, 'GET')

///tenantInfo/addItem
export const addTenant = data => initUrl(`/tenantInfo/addItem`, data, 'POST')

//tenantInfo/editItem
export const editTenant = data => initUrl(`/tenantInfo/editItem`, data, 'POST')

//tenantInfo/delete
export const deleteTenant = data => initUrl(`/tenantInfo/delete`, data, 'POST')
